SSH Things
Map the remote port to local
ssh -L53682:localhost:53682 ubuntu@158.101.140.179
Transfer file using scp
scp -O -i xxxx.pem user@ip:/xx/xx/xx/xxx.ipynb ~/Desktop/xxxx.ipynb
ssh -L53682:localhost:53682 ubuntu@158.101.140.179
scp -O -i xxxx.pem user@ip:/xx/xx/xx/xxx.ipynb ~/Desktop/xxxx.ipynb